<?php

// echo the services images
function services_image() {

	global $post;
	
	$soot_seekers_details = get_post_meta( $post->ID, SERVICES_META_KEY, true );
	
	if( $soot_seekers_details == false ) {
	
		return;		// this return is not needed, but there to keep the function from being empty
		
	} else {
	
		echo '<div class="services-wrapper"><div class="services-image-wrapper"><img class="services-pic" src="'.$soot_seekers_details['image'].'" /></div><br class="clear" /></div>';
		
	}

}

// echo the descriptions for the services
function services_description() {

	global $post;
	
	$soot_seekers_details = get_post_meta( $post->ID, SERVICES_META_KEY, true );
	
	if( $services_info_details == false ) {
	
		return;		// this return is not needed, but there to keep the function from being empty
		
	} else {
	
		echo '<div class="services-wrapper"><div class="services-description">'.$soot_seekers_details['description'].'</div><br class="clear" /></div>';
		
	}

}

// echo all of the info for the services
function services_full() {

	global $post;
	
	$soot_seekers_details = get_post_meta( $post->ID, SERVICES_META_KEY, true );
	
	if( $soot_seekers_details == false ) {
	
		return;		// this return is not needed, but there to keep the function from being empty
		
	} else {
	
		echo '<div class="services-wrapper"><div class="services-image-column"><div class="services-image-wrapper"><div class="services-image">'.get_the_post_thumbnail($post->ID, "thumbnail").'</div></div></div><div class="services-text"><div class="services-name">'.get_the_title().'</div><div class="services-description">'.wpautop( $soot_seekers_details['description'] ).'</div></div><br class="clear" /></div>';
		
	}

}

?>